package mespp.common.view;

import java.io.PrintWriter;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.view.AbstractView;

public class AjaxView extends AbstractView {
	
	public void renderMergedOutputModel(Map map, HttpServletRequest request, HttpServletResponse response) throws Exception{
		
		Object obj = map.get("DATA");
		response.setContentType("text/html;charset=euc-kr");
		response.setHeader("Cache-Control", "no-cache");
		PrintWriter out = response.getWriter();
		out.println(obj);
		out.close();
	}
}
